#pragma once
#include "EpilStatementCodeBase.h"
#include "EpilFunctionCallExpressionCodeBase.h"
#include "EpilOperator.h"


class EpilFunctionCallStatementCode : public EpilStatementCodeBase
{
	EPIL_CODE_DECL( FunctionCallStatement );

public:
	EpilFunctionCallStatementCode( const EpilLexLocation & location );
	virtual ~EpilFunctionCallStatementCode();

	EpilFunctionCallExpressionCodeBase *	GetExpression() const										{ return m_expression; }
	void									SetExpression( EpilFunctionCallExpressionCodeBase * expr )	{ m_expression = expr; }

	virtual void							Run() const;
	
	virtual tstring							ToEpilCode( int indent ) const;

private:
	EpilFunctionCallExpressionCodeBase *	m_expression;
};